home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozlib15.zoo / sozdistr / include / xdlibs / basepage.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-03  |  888 b   |  32 lines

  1. /*
  2.  * @(#)basepage.h, XdLibs, SozobonX
  3.  *
  4.  * Definition of the basepage structure
  5.  */
  6.  
  7. #ifndef _BASEP_H
  8. #define    _BASEP_H
  9.  
  10. typedef struct basep
  11.     {
  12.     char        *p_lowtpa;    /* pointer to self (bottom of TPA) */
  13.     char        *p_hitpa;    /* pointer to top of TPA + 1 */
  14.     char        *p_tbase;    /* base of text segment */
  15.     long        p_tlen;        /* length of text segment */
  16.     char        *p_dbase;    /* base of data segment */
  17.     long        p_dlen;        /* length of data segment */
  18.     char        *p_bbase;    /* base of BSS segment */
  19.     long        p_blen;        /* length of BSS segment */
  20.     char        *p_dta;        /* pointer to current DTA */
  21.     struct basep    *p_parent;    /* pointer to parent's basepage */
  22.     char        *p_resrvd0;    /* reserved for future use */
  23.     char        *p_env;        /* pointer to environment string */
  24.     char        p_resrvd1[80];    /* scratch area... don't touch */
  25.     char        p_cmdlin[128];    /* command line image */
  26.     }
  27.     BASEPAGE;
  28.  
  29. extern    BASEPAGE    *_base;
  30.  
  31. #endif     /* _BASEP_H    */
  32.